#include <bmDocument/Element.h>
#include <bmDocument/Group.h>

namespace bmDoc
{
    Element::Element( const std::string &label )
        : _label( label )
    {
    }


    void Element::setLabel(const std::string &label)
    {
        _label = label;
    }
    std::string Element::getLabel()
    {
        return _label;
    }

    void Element::setName( const std::string &name )
    {
        _name = name;
    }
    std::string Element::getName()
    {
        return _name;
    }

    void Element::setID ( const std::string &id )
    {
        _id = id;
    }
    std::string Element::getID()
    {
        return _id;
    }

    void Element::setParent( Group *lpParent )
    {
        _lpParent = lpParent;
    }
    Group *Element::getParent()
    {
        return _lpParent;
    }

}
